package com.isoft.sjhy.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.isoft.sjhy.model.House;

import java.util.List;


public interface HouseService extends IService<House> {


        PageInfo<House> findHouseAll(int page, int pagesize, String numbers);

        List<House> findList();


        IPage<House> findListByPage(Integer page, Integer pageCount);


        int add(House house);

        int delete(Long id);


        int updateData(House house);

        House findById(Long id);

        House queryHouseById(Integer houId);
    }

